.class public final Lcom/inmobi/androidsdk/IMAdView;
.super Landroid/widget/RelativeLayout;
.source "IMAdView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/inmobi/androidsdk/IMAdView$c;,
        Lcom/inmobi/androidsdk/IMAdView$a;,
        Lcom/inmobi/androidsdk/IMAdView$AnimationType;
    }
.end annotation


# static fields
.field public static final INMOBI_AD_UNIT_120X600:I = 0xd

.field public static final INMOBI_AD_UNIT_300X250:I = 0xa

.field public static final INMOBI_AD_UNIT_320X48:I = 0x9

.field public static final INMOBI_AD_UNIT_320X50:I = 0xf

.field public static final INMOBI_AD_UNIT_468X60:I = 0xc

.field public static final INMOBI_AD_UNIT_728X90:I = 0xb

.field public static final INMOBI_INTERNAL_TAG:Ljava/lang/String; = "ref-__in__rt"

.field public static final INMOBI_REF_TAG:Ljava/lang/String; = "ref-tag"

.field public static final REFRESH_INTERVAL_OFF:I = -0x1


# instance fields
.field private A:Z

.field private B:Lcom/inmobi/androidsdk/IMAdView$a;

.field private C:Landroid/view/animation/Animation$AnimationListener;

.field private D:Lcom/inmobi/androidsdk/impl/net/HttpRequestCallback;

.field private E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

.field private F:Z

.field private a:I

.field private b:Lcom/inmobi/re/container/IMWebView;

.field private c:Lcom/inmobi/re/container/IMWebView;

.field private d:Lcom/inmobi/re/container/IMWebView;

.field private e:Landroid/app/Activity;

.field private f:Z

.field private g:Lcom/inmobi/androidsdk/impl/UserInfo;

.field private h:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private i:Ljava/util/concurrent/atomic/AtomicBoolean;

.field private j:Landroid/view/animation/Animation;

.field private k:Landroid/view/animation/Animation;

.field private l:Ljava/lang/String;

.field private m:Ljava/lang/String;

.field private n:Lcom/inmobi/androidsdk/IMAdListener;

.field private o:Lcom/inmobi/androidsdk/IMAdRequest;

.field private p:Ljava/lang/String;

.field private q:I

.field private r:J

.field private s:J

.field private t:J

.field private u:Z

.field private v:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

.field private w:Z

.field private x:Lcom/inmobi/androidsdk/d;

.field private y:Ljava/lang/String;

.field private z:Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;


# direct methods
.method public constructor <init>(Landroid/app/Activity;ILjava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 225
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;-><init>(Landroid/content/Context;)V

    .line 226
    invoke-direct {p0, p1, p2, p3}, Lcom/inmobi/androidsdk/IMAdView;->a(Landroid/app/Activity;ILjava/lang/String;)V

    .line 227
    return-void
.end method

.method public constructor <init>(Landroid/app/Activity;ILjava/lang/String;J)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 261
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;-><init>(Landroid/content/Context;)V

    .line 262
    iput-wide p4, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    .line 263
    invoke-direct {p0, p1, p2, p3}, Lcom/inmobi/androidsdk/IMAdView;->a(Landroid/app/Activity;ILjava/lang/String;)V

    .line 264
    return-void
.end method

.method private constructor <init>(Landroid/content/Context;)V
    .locals 5
    .parameter

    .prologue
    const-wide/16 v3, 0x0

    const/4 v1, 0x0

    const/4 v2, 0x1

    .line 194
    invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    .line 147
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->f:Z

    .line 149
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->h:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 150
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->i:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 153
    iput-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->l:Ljava/lang/String;

    .line 154
    iput-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->m:Ljava/lang/String;

    .line 165
    const-wide/16 v0, -0x1

    iput-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    .line 168
    iput-wide v3, p0, Lcom/inmobi/androidsdk/IMAdView;->s:J

    .line 170
    iput-wide v3, p0, Lcom/inmobi/androidsdk/IMAdView;->t:J

    .line 172
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->u:Z

    .line 174
    sget-object v0, Lcom/inmobi/androidsdk/IMAdView$AnimationType;->ROTATE_HORIZONTAL_AXIS:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->v:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    .line 176
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->w:Z

    .line 178
    const-string v0, "http://i.w.inmobi.com/showad.asm"

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->y:Ljava/lang/String;

    .line 1224
    new-instance v0, Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/IMAdView$a;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    .line 1265
    new-instance v0, Lcom/inmobi/androidsdk/a;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/a;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->C:Landroid/view/animation/Animation$AnimationListener;

    .line 1326
    new-instance v0, Lcom/inmobi/androidsdk/c;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/c;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->D:Lcom/inmobi/androidsdk/impl/net/HttpRequestCallback;

    .line 1423
    new-instance v0, Lcom/inmobi/androidsdk/b;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/b;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    .line 1500
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    .line 195
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 6
    .parameter
    .parameter

    .prologue
    const-wide/16 v4, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    .line 284
    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    .line 147
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->f:Z

    .line 149
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->h:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 150
    new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->i:Ljava/util/concurrent/atomic/AtomicBoolean;

    .line 153
    iput-object v3, p0, Lcom/inmobi/androidsdk/IMAdView;->l:Ljava/lang/String;

    .line 154
    iput-object v3, p0, Lcom/inmobi/androidsdk/IMAdView;->m:Ljava/lang/String;

    .line 165
    const-wide/16 v0, -0x1

    iput-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    .line 168
    iput-wide v4, p0, Lcom/inmobi/androidsdk/IMAdView;->s:J

    .line 170
    iput-wide v4, p0, Lcom/inmobi/androidsdk/IMAdView;->t:J

    .line 172
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->u:Z

    .line 174
    sget-object v0, Lcom/inmobi/androidsdk/IMAdView$AnimationType;->ROTATE_HORIZONTAL_AXIS:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->v:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    .line 176
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->w:Z

    .line 178
    const-string v0, "http://i.w.inmobi.com/showad.asm"

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->y:Ljava/lang/String;

    .line 1224
    new-instance v0, Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/IMAdView$a;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    .line 1265
    new-instance v0, Lcom/inmobi/androidsdk/a;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/a;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->C:Landroid/view/animation/Animation$AnimationListener;

    .line 1326
    new-instance v0, Lcom/inmobi/androidsdk/c;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/c;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->D:Lcom/inmobi/androidsdk/impl/net/HttpRequestCallback;

    .line 1423
    new-instance v0, Lcom/inmobi/androidsdk/b;

    invoke-direct {v0, p0}, Lcom/inmobi/androidsdk/b;-><init>(Lcom/inmobi/androidsdk/IMAdView;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    .line 1500
    iput-boolean v2, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    .line 285
    if-nez p2, :cond_0

    .line 286
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Missing attributes in xml layout of IMAdview "

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 289
    :cond_0
    const-string v0, "appId"

    invoke-interface {p2, v3, v0}, Landroid/util/AttributeSet;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 290
    const-string v1, "adSize"

    const/4 v2, -0x1

    invoke-interface {p2, v3, v1, v2}, Landroid/util/AttributeSet;->getAttributeIntValue(Ljava/lang/String;Ljava/lang/String;I)I

    move-result v1

    .line 291
    const-string v2, "slotId"

    invoke-interface {p2, v3, v2}, Landroid/util/AttributeSet;->getAttributeValue(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 292
    if-eqz v2, :cond_1

    .line 293
    invoke-static {v2}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J

    move-result-wide v2

    iput-wide v2, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    .line 295
    :cond_1
    check-cast p1, Landroid/app/Activity;

    invoke-direct {p0, p1, v1, v0}, Lcom/inmobi/androidsdk/IMAdView;->a(Landroid/app/Activity;ILjava/lang/String;)V

    .line 296
    return-void
.end method

.method static synthetic a(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/IMAdListener;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->n:Lcom/inmobi/androidsdk/IMAdListener;

    return-object v0
.end method

.method static synthetic a(Lcom/inmobi/androidsdk/IMAdView;Lcom/inmobi/re/container/IMWebView;)Lcom/inmobi/re/container/IMWebView;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    return-object p1
.end method

.method private a(I)V
    .locals 2
    .parameter

    .prologue
    .line 391
    if-gez p1, :cond_0

    .line 392
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Invalid Ad Size. Please provide a valid Ad Size. If Ad Size is declared in the layout XML, please provide a valid \'adSize\' attribute in the \'com.inmobi.androidsdk.IMAdView\' tag of layout XML. For example, adSize=\"yourAdSize\""

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 395
    :cond_0
    return-void
.end method

.method private a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 839
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->w:Z

    if-nez v0, :cond_1

    .line 840
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, "IMAdView not sending callback because the view is not added to any window."

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 925
    :cond_0
    :goto_0
    return-void

    .line 846
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->n:Lcom/inmobi/androidsdk/IMAdListener;

    if-eqz v0, :cond_0

    .line 850
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    new-instance v1, Lcom/inmobi/androidsdk/IMAdView$b;

    invoke-direct {v1, p0, p1, p2}, Lcom/inmobi/androidsdk/IMAdView$b;-><init>(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method private a(Landroid/app/Activity;ILjava/lang/String;)V
    .locals 6
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v5, -0x1

    const/4 v4, 0x0

    .line 399
    :try_start_0
    invoke-static {p1}, Lcom/inmobi/androidsdk/impl/SDKUtil;->validateAdConfiguration(Landroid/content/Context;)V
    :try_end_0
    .catch Lcom/inmobi/androidsdk/impl/ConfigException; {:try_start_0 .. :try_end_0} :catch_0

    .line 408
    :goto_0
    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/commons/internal/InternalSDKUtil;->getUserAgent(Landroid/content/Context;)Ljava/lang/String;

    .line 409
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v0

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getDefaultRefreshRate()I

    move-result v0

    iput v0, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    .line 412
    invoke-direct {p0, p2}, Lcom/inmobi/androidsdk/IMAdView;->a(I)V

    .line 414
    invoke-static {p3}, Lcom/inmobi/androidsdk/impl/SDKUtil;->validateAppID(Ljava/lang/String;)V

    .line 416
    iput-object p3, p0, Lcom/inmobi/androidsdk/IMAdView;->p:Ljava/lang/String;

    .line 417
    iput p2, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    .line 419
    invoke-static {p1}, Lcom/inmobi/androidsdk/impl/SDKUtil;->getRootActivity(Landroid/app/Activity;)Landroid/app/Activity;

    move-result-object v0

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    .line 421
    const-class v0, Lcom/inmobi/androidsdk/impl/imai/IMAIController;

    invoke-static {v0}, Lcom/inmobi/re/container/IMWebView;->setIMAIController(Ljava/lang/Class;)V

    .line 423
    :try_start_1
    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/commons/uid/UIDHelper;->getAndroidId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 425
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Publisher device Id is "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v0}, Lcom/inmobi/commons/uid/UIDHelper;->getODIN1(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    .line 431
    :goto_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-static {v0}, Lcom/inmobi/commons/internal/ThinICE;->start(Landroid/app/Activity;)V

    .line 432
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    if-nez v0, :cond_1

    .line 433
    new-instance v0, Lcom/inmobi/re/container/IMWebView;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    invoke-direct {v0, v1, v2, v4, v4}, Lcom/inmobi/re/container/IMWebView;-><init>(Landroid/content/Context;Lcom/inmobi/re/container/IMWebView$IMWebViewListener;ZZ)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    .line 435
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    if-nez v0, :cond_0

    .line 436
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->disableHardwareAcceleration()V

    .line 437
    :cond_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    new-instance v1, Lcom/inmobi/androidsdk/impl/imai/IMAIController;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    invoke-direct {v1, v2}, Lcom/inmobi/androidsdk/impl/imai/IMAIController;-><init>(Lcom/inmobi/re/container/IMWebView;)V

    const-string v2, "imaiController"

    invoke-virtual {v0, v1, v2}, Lcom/inmobi/re/container/IMWebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    .line 441
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    if-nez v0, :cond_3

    .line 442
    new-instance v0, Lcom/inmobi/re/container/IMWebView;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    invoke-direct {v0, v1, v2, v4, v4}, Lcom/inmobi/re/container/IMWebView;-><init>(Landroid/content/Context;Lcom/inmobi/re/container/IMWebView$IMWebViewListener;ZZ)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    .line 444
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    if-nez v0, :cond_2

    .line 445
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->disableHardwareAcceleration()V

    .line 446
    :cond_2
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 449
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    iput-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    .line 450
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {p0, v1, v0}, Lcom/inmobi/androidsdk/IMAdView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 451
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    new-instance v1, Lcom/inmobi/androidsdk/impl/imai/IMAIController;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-direct {v1, v2}, Lcom/inmobi/androidsdk/impl/imai/IMAIController;-><init>(Lcom/inmobi/re/container/IMWebView;)V

    const-string v2, "imaiController"

    invoke-virtual {v0, v1, v2}, Lcom/inmobi/re/container/IMWebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    .line 454
    :cond_3
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->d()V

    .line 457
    new-instance v0, Lcom/inmobi/androidsdk/d;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->C:Landroid/view/animation/Animation$AnimationListener;

    invoke-direct {v0, p0, v1}, Lcom/inmobi/androidsdk/d;-><init>(Lcom/inmobi/androidsdk/IMAdView;Landroid/view/animation/Animation$AnimationListener;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->x:Lcom/inmobi/androidsdk/d;

    .line 458
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Lcom/inmobi/androidsdk/impl/ConnBroadcastReciever;

    invoke-direct {v1}, Lcom/inmobi/androidsdk/impl/ConnBroadcastReciever;-><init>()V

    new-instance v2, Landroid/content/IntentFilter;

    const-string v3, "android.net.conn.CONNECTIVITY_CHANGE"

    invoke-direct {v2, v3}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1, v2}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    .line 461
    return-void

    .line 400
    :catch_0
    move-exception v0

    .line 401
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "IMConfigException occured while initializing interstitial while validating adView"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto/16 :goto_0

    .line 427
    :catch_1
    move-exception v0

    .line 428
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Cannot get publisher device id"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto/16 :goto_1
.end method

.method static synthetic a(Lcom/inmobi/androidsdk/IMAdView;ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1, p2}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    return-void
.end method

.method static synthetic a(Lcom/inmobi/androidsdk/IMAdView;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic a(Lcom/inmobi/androidsdk/IMAdView;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->a(Z)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 7
    .parameter

    .prologue
    const/4 v4, 0x0

    const/16 v5, 0x65

    const/4 v3, 0x0

    .line 510
    if-eqz p1, :cond_4

    .line 513
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x8

    if-gt v0, v1, :cond_0

    .line 514
    const-string v0, "%"

    const-string v1, "%25"

    invoke-virtual {p1, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    .line 517
    :cond_0
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 518
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    if-nez v0, :cond_1

    .line 519
    new-instance v0, Lcom/inmobi/re/container/IMWebView;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    invoke-direct {v0, v1, v2, v3, v3}, Lcom/inmobi/re/container/IMWebView;-><init>(Landroid/content/Context;Lcom/inmobi/re/container/IMWebView$IMWebViewListener;ZZ)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    .line 521
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    if-nez v0, :cond_1

    .line 522
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->disableHardwareAcceleration()V

    .line 524
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    .line 535
    :goto_0
    new-instance v1, Lcom/inmobi/androidsdk/impl/imai/IMAIController;

    invoke-direct {v1, v0}, Lcom/inmobi/androidsdk/impl/imai/IMAIController;-><init>(Lcom/inmobi/re/container/IMWebView;)V

    const-string v2, "imaiController"

    invoke-virtual {v0, v1, v2}, Lcom/inmobi/re/container/IMWebView;->addJavascriptInterface(Ljava/lang/Object;Ljava/lang/String;)V

    .line 537
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v1, v5}, Lcom/inmobi/androidsdk/IMAdView$a;->obtainMessage(I)Landroid/os/Message;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/re/container/IMWebView;->requestOnPageFinishedCallback(Landroid/os/Message;)V

    .line 541
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v1

    iput-wide v1, p0, Lcom/inmobi/androidsdk/IMAdView;->s:J

    .line 542
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    const/16 v2, 0x6c

    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v3

    invoke-virtual {v3}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getRenderTimeOut()I

    move-result v3

    int-to-long v5, v3

    invoke-virtual {v1, v2, v5, v6}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessageDelayed(IJ)Z

    .line 545
    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->resetMraid()V

    .line 546
    const-string v1, ""

    const-string v3, "text/html"

    move-object v2, p1

    move-object v5, v4

    invoke-virtual/range {v0 .. v5}, Lcom/inmobi/re/container/IMWebView;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 557
    :goto_1
    return-void

    .line 526
    :cond_2
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    if-nez v0, :cond_3

    .line 527
    new-instance v0, Lcom/inmobi/re/container/IMWebView;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->E:Lcom/inmobi/re/container/IMWebView$IMWebViewListener;

    invoke-direct {v0, v1, v2, v3, v3}, Lcom/inmobi/re/container/IMWebView;-><init>(Landroid/content/Context;Lcom/inmobi/re/container/IMWebView$IMWebViewListener;ZZ)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    .line 529
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    if-nez v0, :cond_3

    .line 530
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->disableHardwareAcceleration()V

    .line 532
    :cond_3
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    goto :goto_0

    .line 550
    :cond_4
    invoke-direct {p0, v3}, Lcom/inmobi/androidsdk/IMAdView;->a(Z)V

    .line 551
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, "Cannot load Ad. Invalid Ad Response"

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 553
    sget-object v0, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->INTERNAL_ERROR:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-direct {p0, v5, v0}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto :goto_1
.end method

.method private a(Z)V
    .locals 1
    .parameter

    .prologue
    .line 758
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->h:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 759
    return-void
.end method

.method static synthetic b(Lcom/inmobi/androidsdk/IMAdView;Lcom/inmobi/re/container/IMWebView;)Lcom/inmobi/re/container/IMWebView;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    return-object p1
.end method

.method static synthetic b(Lcom/inmobi/androidsdk/IMAdView;Ljava/lang/String;)Ljava/lang/String;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->l:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic b(Lcom/inmobi/androidsdk/IMAdView;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->l()V

    return-void
.end method

.method private b(Z)V
    .locals 1
    .parameter

    .prologue
    .line 799
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->i:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0, p1}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 800
    return-void
.end method

.method static synthetic b(Lcom/inmobi/androidsdk/IMAdView;Z)Z
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-boolean p1, p0, Lcom/inmobi/androidsdk/IMAdView;->u:Z

    return p1
.end method

.method static synthetic c(Lcom/inmobi/androidsdk/IMAdView;Lcom/inmobi/re/container/IMWebView;)Lcom/inmobi/re/container/IMWebView;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    return-object p1
.end method

.method static synthetic c(Lcom/inmobi/androidsdk/IMAdView;Ljava/lang/String;)Ljava/lang/String;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->m:Ljava/lang/String;

    return-object p1
.end method

.method private c()V
    .locals 4

    .prologue
    const/16 v1, 0x140

    const/4 v0, 0x0

    .line 464
    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v2}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    invoke-virtual {v2}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v2

    iget v2, v2, Landroid/util/DisplayMetrics;->density:F

    .line 470
    :try_start_0
    iget v3, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    packed-switch v3, :pswitch_data_0

    :pswitch_0
    move v1, v0

    .line 496
    :goto_0
    if-eqz v1, :cond_0

    if-eqz v0, :cond_0

    .line 497
    int-to-float v1, v1

    mul-float/2addr v1, v2

    float-to-int v1, v1

    .line 498
    int-to-float v0, v0

    mul-float/2addr v0, v2

    float-to-int v0, v0

    .line 499
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v2

    iput v0, v2, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 500
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    .line 501
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 507
    :cond_0
    :goto_1
    return-void

    .line 473
    :pswitch_1
    const/16 v0, 0x30

    .line 474
    goto :goto_0

    .line 476
    :pswitch_2
    const/16 v1, 0x12c

    .line 477
    const/16 v0, 0xfa

    .line 478
    goto :goto_0

    .line 480
    :pswitch_3
    const/16 v1, 0x2d9

    .line 481
    const/16 v0, 0x5a

    .line 482
    goto :goto_0

    .line 484
    :pswitch_4
    const/16 v1, 0x1d4

    .line 485
    const/16 v0, 0x3c

    .line 486
    goto :goto_0

    .line 488
    :pswitch_5
    const/16 v1, 0x78

    .line 489
    const/16 v0, 0x258

    .line 490
    goto :goto_0

    .line 493
    :pswitch_6
    const/16 v0, 0x32

    goto :goto_0

    .line 503
    :catch_0
    move-exception v0

    .line 504
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Cannot set default size for adview"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_1

    .line 470
    :pswitch_data_0
    .packed-switch 0x9
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_0
        :pswitch_6
    .end packed-switch
.end method

.method static synthetic c(Lcom/inmobi/androidsdk/IMAdView;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->b(Z)V

    return-void
.end method

.method private c(Z)V
    .locals 2
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 807
    iput-boolean p1, p0, Lcom/inmobi/androidsdk/IMAdView;->f:Z

    .line 808
    if-eqz p1, :cond_0

    .line 809
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->deinit()V

    .line 811
    iput-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    .line 817
    :goto_0
    return-void

    .line 813
    :cond_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->deinit()V

    .line 815
    iput-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    goto :goto_0
.end method

.method static synthetic c(Lcom/inmobi/androidsdk/IMAdView;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->A:Z

    return v0
.end method

.method static synthetic d(Lcom/inmobi/androidsdk/IMAdView;)J
    .locals 2
    .parameter

    .prologue
    .line 62
    iget-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->t:J

    return-wide v0
.end method

.method private d()V
    .locals 5

    .prologue
    .line 561
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    if-nez v0, :cond_0

    .line 562
    new-instance v0, Lcom/inmobi/androidsdk/impl/UserInfo;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-direct {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;-><init>(Landroid/app/Activity;)V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    .line 564
    new-instance v0, Landroid/util/DisplayMetrics;

    invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V

    .line 565
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v1}, Landroid/app/Activity;->getWindowManager()Landroid/view/WindowManager;

    move-result-object v1

    invoke-interface {v1}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V

    .line 567
    iget v1, v0, Landroid/util/DisplayMetrics;->density:F

    .line 568
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    const-string v2, "window"

    invoke-virtual {v0, v2}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;

    move-result-object v0

    .line 571
    invoke-static {v0}, Lcom/inmobi/re/container/WrapperFunctions;->getDisplayWidth(Landroid/view/Display;)I

    move-result v2

    int-to-float v2, v2

    div-float/2addr v2, v1

    float-to-int v2, v2

    .line 573
    invoke-static {v0}, Lcom/inmobi/re/container/WrapperFunctions;->getDisplayHeight(Landroid/view/Display;)I

    move-result v0

    int-to-float v0, v0

    div-float/2addr v0, v1

    float-to-int v0, v0

    .line 575
    iget-object v3, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    invoke-static {v1}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setScreenDensity(Ljava/lang/String;)V

    .line 576
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "X"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/inmobi/androidsdk/impl/UserInfo;->setScreenSize(Ljava/lang/String;)V

    .line 580
    :try_start_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/impl/UserInfo;->getPhoneDefaultUserAgent()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 582
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/inmobi/commons/internal/InternalSDKUtil;->getUserAgent(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setPhoneDefaultUserAgent(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 593
    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    iget v1, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    invoke-static {v1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setAdUnitSlot(Ljava/lang/String;)V

    .line 594
    iget-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    const-wide/16 v2, -0x1

    cmp-long v0, v0, v2

    if-eqz v0, :cond_1

    .line 595
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    iget-wide v1, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    invoke-static {v1, v2}, Ljava/lang/Long;->toString(J)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setSlotId(Ljava/lang/String;)V

    .line 596
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->p:Ljava/lang/String;

    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->o:Lcom/inmobi/androidsdk/IMAdRequest;

    invoke-virtual {v0, v1, v2}, Lcom/inmobi/androidsdk/impl/UserInfo;->updateInfo(Ljava/lang/String;Lcom/inmobi/androidsdk/IMAdRequest;)V

    .line 597
    return-void

    .line 585
    :catch_0
    move-exception v0

    .line 586
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Exception occured while setting user agent"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method

.method static synthetic d(Lcom/inmobi/androidsdk/IMAdView;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->c(Z)V

    return-void
.end method

.method static synthetic e(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->m:Ljava/lang/String;

    return-object v0
.end method

.method private e()V
    .locals 6

    .prologue
    const/4 v0, 0x0

    const/4 v5, 0x0

    const/16 v4, 0x64

    .line 601
    :try_start_0
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->removeAllViews()V

    .line 602
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 604
    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 607
    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    iput-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    .line 608
    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {p0, v2, v1}, Lcom/inmobi/androidsdk/IMAdView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 618
    :goto_0
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v1

    if-nez v1, :cond_0

    const/4 v0, 0x1

    :cond_0
    invoke-direct {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->c(Z)V

    .line 619
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->a(Z)V

    .line 620
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->j()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 625
    invoke-direct {p0, v4, v5}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    .line 628
    :goto_1
    return-void

    .line 611
    :cond_1
    :try_start_1
    new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v2, -0x1

    const/4 v3, -0x1

    invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 614
    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    iput-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    .line 615
    iget-object v2, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {p0, v2, v1}, Lcom/inmobi/androidsdk/IMAdView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_0

    .line 621
    :catch_0
    move-exception v0

    .line 622
    :try_start_2
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Error swapping banner ads"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 625
    invoke-direct {p0, v4, v5}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto :goto_1

    :catchall_0
    move-exception v0

    invoke-direct {p0, v4, v5}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    throw v0
.end method

.method static synthetic f(Lcom/inmobi/androidsdk/IMAdView;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->l:Ljava/lang/String;

    return-object v0
.end method

.method private f()Z
    .locals 3

    .prologue
    const/4 v0, 0x0

    .line 737
    invoke-static {}, Lcom/inmobi/androidsdk/impl/SDKUtil;->getQAMode()Z

    move-result v1

    if-nez v1, :cond_0

    .line 738
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->p:Ljava/lang/String;

    invoke-static {v1}, Lcom/inmobi/commons/internal/InternalSDKUtil;->validateAppId(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 750
    :goto_0
    return v0

    .line 745
    :cond_0
    iget v1, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    if-gez v1, :cond_1

    .line 746
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Invalid Ad Size. Please provide a valid adSize."

    invoke-static {v1, v2}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 750
    :cond_1
    const/4 v0, 0x1

    goto :goto_0
.end method

.method static synthetic g(Lcom/inmobi/androidsdk/IMAdView;)J
    .locals 2
    .parameter

    .prologue
    .line 62
    iget-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->s:J

    return-wide v0
.end method

.method private g()Z
    .locals 1

    .prologue
    .line 754
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->h:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    return v0
.end method

.method private h()Z
    .locals 6

    .prologue
    const/4 v1, 0x1

    .line 763
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->i:Ljava/util/concurrent/atomic/AtomicBoolean;

    invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    .line 795
    :goto_0
    return v0

    .line 771
    :cond_0
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 772
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    .line 776
    :goto_1
    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->getState()Ljava/lang/String;

    move-result-object v2

    .line 778
    const-string v3, "InMobiAndroidSDK_3.7.0"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "Current Ad State: "

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-static {v3, v4}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 779
    sget-object v3, Lcom/inmobi/re/container/IMWebView$ViewState;->EXPANDED:Lcom/inmobi/re/container/IMWebView$ViewState;

    invoke-virtual {v3}, Lcom/inmobi/re/container/IMWebView$ViewState;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_1

    sget-object v3, Lcom/inmobi/re/container/IMWebView$ViewState;->RESIZED:Lcom/inmobi/re/container/IMWebView$ViewState;

    invoke-virtual {v3}, Lcom/inmobi/re/container/IMWebView$ViewState;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_1

    sget-object v3, Lcom/inmobi/re/container/IMWebView$ViewState;->RESIZING:Lcom/inmobi/re/container/IMWebView$ViewState;

    invoke-virtual {v3}, Lcom/inmobi/re/container/IMWebView$ViewState;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v3

    if-nez v3, :cond_1

    sget-object v3, Lcom/inmobi/re/container/IMWebView$ViewState;->EXPANDING:Lcom/inmobi/re/container/IMWebView$ViewState;

    invoke-virtual {v3}, Lcom/inmobi/re/container/IMWebView$ViewState;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 783
    :cond_1
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Current Ad State is neither default nor loading. New ad will not be shown."

    invoke-static {v0, v2}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v1

    .line 786
    goto :goto_0

    .line 774
    :cond_2
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    goto :goto_1

    .line 791
    :cond_3
    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->isBusy()Z

    move-result v0

    if-eqz v0, :cond_4

    .line 792
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v2, "New ad will not be shown because the present ad is busy. Eg. Video/audio is playing, etc."

    invoke-static {v0, v2}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v1

    .line 793
    goto :goto_0

    .line 795
    :cond_4
    const/4 v0, 0x0

    goto :goto_0
.end method

.method static synthetic h(Lcom/inmobi/androidsdk/IMAdView;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v0

    return v0
.end method

.method static synthetic i(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/re/container/IMWebView;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    return-object v0
.end method

.method private i()Z
    .locals 1

    .prologue
    .line 803
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->f:Z

    return v0
.end method

.method static synthetic j(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/re/container/IMWebView;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    return-object v0
.end method

.method private j()V
    .locals 3

    .prologue
    .line 929
    :try_start_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    .line 930
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/inmobi/re/container/IMWebView;->setBackgroundColor(I)V

    .line 932
    :cond_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_1

    .line 933
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/inmobi/re/container/IMWebView;->setBackgroundColor(I)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 938
    :cond_1
    :goto_0
    return-void

    .line 935
    :catch_0
    move-exception v0

    .line 936
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Error setNormalBGColor"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    goto :goto_0
.end method

.method static synthetic k(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->z:Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    return-object v0
.end method

.method private k()V
    .locals 5

    .prologue
    const/16 v4, 0x64

    .line 1012
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v4}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1016
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v0

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getMinimumRefreshRate()I

    move-result v0

    .line 1019
    iget v1, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    if-ge v1, v0, :cond_0

    .line 1020
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    mul-int/lit16 v0, v0, 0x3e8

    int-to-long v2, v0

    invoke-virtual {v1, v4, v2, v3}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessageDelayed(IJ)Z

    .line 1024
    :goto_0
    return-void

    .line 1022
    :cond_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    iget v1, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    mul-int/lit16 v1, v1, 0x3e8

    int-to-long v1, v1

    invoke-virtual {v0, v4, v1, v2}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessageDelayed(IJ)Z

    goto :goto_0
.end method

.method static synthetic l(Lcom/inmobi/androidsdk/IMAdView;)I
    .locals 1
    .parameter

    .prologue
    .line 62
    iget v0, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    return v0
.end method

.method private l()V
    .locals 4

    .prologue
    const/16 v3, 0x64

    .line 1578
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v3}, Lcom/inmobi/androidsdk/IMAdView$a;->hasMessages(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 1579
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v3}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1581
    :cond_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    iget v1, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    mul-int/lit16 v1, v1, 0x3e8

    int-to-long v1, v1

    invoke-virtual {v0, v3, v1, v2}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessageDelayed(IJ)Z

    .line 1583
    return-void
.end method

.method static synthetic m(Lcom/inmobi/androidsdk/IMAdView;)Landroid/app/Activity;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    return-object v0
.end method

.method static synthetic n(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/impl/UserInfo;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    return-object v0
.end method

.method static synthetic o(Lcom/inmobi/androidsdk/IMAdView;)Z
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->u:Z

    return v0
.end method

.method static synthetic p(Lcom/inmobi/androidsdk/IMAdView;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->e()V

    return-void
.end method

.method static synthetic q(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/IMAdView$AnimationType;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->v:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    return-object v0
.end method

.method static synthetic r(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/d;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->x:Lcom/inmobi/androidsdk/d;

    return-object v0
.end method

.method static synthetic s(Lcom/inmobi/androidsdk/IMAdView;)V
    .locals 0
    .parameter

    .prologue
    .line 62
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->j()V

    return-void
.end method

.method private setAdServerUrl(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 702
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->y:Ljava/lang/String;

    .line 703
    return-void
.end method

.method static synthetic t(Lcom/inmobi/androidsdk/IMAdView;)Lcom/inmobi/androidsdk/IMAdView$a;
    .locals 1
    .parameter

    .prologue
    .line 62
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    return-object v0
.end method


# virtual methods
.method a()Landroid/view/animation/Animation;
    .locals 1

    .prologue
    .line 820
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->j:Landroid/view/animation/Animation;

    return-object v0
.end method

.method a(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter

    .prologue
    .line 824
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->j:Landroid/view/animation/Animation;

    .line 825
    return-void
.end method

.method b()Landroid/view/animation/Animation;
    .locals 1

    .prologue
    .line 828
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->k:Landroid/view/animation/Animation;

    return-object v0
.end method

.method b(Landroid/view/animation/Animation;)V
    .locals 0
    .parameter

    .prologue
    .line 832
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->k:Landroid/view/animation/Animation;

    .line 833
    return-void
.end method

.method public destroy()V
    .locals 2

    .prologue
    .line 341
    :try_start_0
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    .line 342
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->destroy()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 347
    :cond_0
    :goto_0
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    .line 348
    return-void

    .line 343
    :catch_0
    move-exception v0

    .line 344
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, "Unable to destroy webview, or it has been destroyed already."

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method

.method public disableHardwareAcceleration()V
    .locals 1

    .prologue
    .line 1506
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->F:Z

    .line 1507
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    .line 1508
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->disableHardwareAcceleration()V

    .line 1509
    :cond_0
    return-void
.end method

.method public getAdSize()I
    .locals 1

    .prologue
    .line 1497
    iget v0, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    return v0
.end method

.method public getAdViewPosition()Landroid/widget/RelativeLayout$LayoutParams;
    .locals 6

    .prologue
    const/4 v5, 0x1

    const/4 v4, 0x0

    .line 305
    const/4 v0, 0x2

    new-array v2, v0, [I

    .line 307
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-ne v0, p0, :cond_1

    .line 310
    :cond_0
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V

    .line 311
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getWidth()I

    move-result v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    .line 312
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getHeight()I

    move-result v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    .line 313
    invoke-virtual {p0, v2}, Lcom/inmobi/androidsdk/IMAdView;->getLocationOnScreen([I)V

    .line 314
    aget v1, v2, v4

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    .line 315
    aget v1, v2, v5

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    move-object v1, v0

    .line 326
    :goto_0
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getRootView()Landroid/view/View;

    move-result-object v0

    const v3, 0x1020002

    invoke-virtual {v0, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    .line 328
    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->getLocationOnScreen([I)V

    .line 329
    iget v0, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    aget v3, v2, v4

    sub-int/2addr v0, v3

    iput v0, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    .line 330
    iget v0, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    aget v2, v2, v5

    sub-int/2addr v0, v2

    iput v0, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    .line 332
    iput v4, v1, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I

    iput v4, v1, Landroid/widget/RelativeLayout$LayoutParams;->bottomMargin:I

    .line 333
    return-object v1

    .line 317
    :cond_1
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v1

    invoke-direct {v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V

    .line 318
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->getWidth()I

    move-result v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    .line 319
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v1}, Lcom/inmobi/re/container/IMWebView;->getHeight()I

    move-result v1

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    .line 320
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v1, v2}, Lcom/inmobi/re/container/IMWebView;->getLocationOnScreen([I)V

    .line 321
    aget v1, v2, v4

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I

    .line 322
    aget v1, v2, v5

    iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I

    move-object v1, v0

    goto :goto_0
.end method

.method public getAppId()Ljava/lang/String;
    .locals 1

    .prologue
    .line 1473
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->p:Ljava/lang/String;

    return-object v0
.end method

.method public getIMAdListener()Lcom/inmobi/androidsdk/IMAdListener;
    .locals 1

    .prologue
    .line 1391
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->n:Lcom/inmobi/androidsdk/IMAdListener;

    return-object v0
.end method

.method public getIMAdRequest()Lcom/inmobi/androidsdk/IMAdRequest;
    .locals 1

    .prologue
    .line 1410
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->o:Lcom/inmobi/androidsdk/IMAdRequest;

    return-object v0
.end method

.method public getSlotId()J
    .locals 2

    .prologue
    .line 1540
    iget-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    return-wide v0
.end method

.method public isModal()Z
    .locals 1

    .prologue
    .line 356
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    if-eqz v0, :cond_0

    .line 357
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->d:Lcom/inmobi/re/container/IMWebView;

    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->isModal()Z

    move-result v0

    .line 358
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public declared-synchronized loadNewAd()V
    .locals 5

    .prologue
    .line 638
    monitor-enter p0

    :try_start_0
    new-instance v0, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    invoke-direct {v0}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;-><init>()V

    iput-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->z:Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    .line 639
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/androidsdk/impl/metric/Logger;->startNewSample(Landroid/content/Context;)Z

    move-result v0

    iput-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->A:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 641
    :try_start_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/commons/uid/UIDHelper;->getAndroidId(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    .line 643
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Publisher device Id is "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v0}, Lcom/inmobi/commons/uid/UIDHelper;->getODIN1(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    .line 650
    :goto_0
    :try_start_2
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, " >>>> Start loading new Ad <<<<"

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 654
    :try_start_3
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/commons/internal/InternalSDKUtil;->checkNetworkAvailibility(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 656
    const/16 v0, 0x65

    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->NETWORK_ERROR:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-direct {p0, v0, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_1

    .line 694
    :goto_1
    monitor-exit p0

    return-void

    .line 645
    :catch_0
    move-exception v0

    .line 646
    :try_start_4
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Cannot get publisher device id"

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->internal(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_0

    goto :goto_0

    .line 638
    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    .line 660
    :cond_0
    :try_start_5
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->g()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 661
    const/16 v0, 0x65

    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->AD_DOWNLOAD_IN_PROGRESS:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-direct {p0, v0, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_1

    goto :goto_1

    .line 691
    :catch_1
    move-exception v0

    .line 692
    :try_start_6
    const-string v1, "InMobiAndroidSDK_3.7.0"

    const-string v2, "Error in loading ad "

    invoke-static {v1, v2, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
    :try_end_6
    .catchall {:try_start_6 .. :try_end_6} :catchall_0

    goto :goto_1

    .line 664
    :cond_1
    :try_start_7
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->h()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 665
    const/16 v0, 0x65

    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->AD_CLICK_IN_PROGRESS:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-direct {p0, v0, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto :goto_1

    .line 668
    :cond_2
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->f()Z

    move-result v0

    if-nez v0, :cond_3

    .line 669
    const/16 v0, 0x65

    sget-object v1, Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;->INVALID_REQUEST:Lcom/inmobi/androidsdk/IMAdRequest$ErrorCode;

    invoke-direct {p0, v0, v1}, Lcom/inmobi/androidsdk/IMAdView;->a(ILcom/inmobi/androidsdk/IMAdRequest$ErrorCode;)V

    goto :goto_1

    .line 674
    :cond_3
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->a(Z)V

    .line 676
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->d()V

    .line 677
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    if-eqz v0, :cond_4

    .line 678
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setRefreshType(I)V

    .line 681
    :cond_4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/inmobi/androidsdk/IMAdView;->t:J

    .line 682
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    const/16 v1, 0x6b

    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v2

    invoke-virtual {v2}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getFetchTimeOut()I

    move-result v2

    int-to-long v2, v2

    invoke-virtual {v0, v1, v2, v3}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessageDelayed(IJ)Z

    .line 686
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    const/16 v1, 0x64

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 688
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->z:Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    sget-object v2, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager$ActionType;->AdRequest:Lcom/inmobi/androidsdk/impl/net/RequestResponseManager$ActionType;

    iget-object v3, p0, Lcom/inmobi/androidsdk/IMAdView;->y:Ljava/lang/String;

    iget-object v4, p0, Lcom/inmobi/androidsdk/IMAdView;->D:Lcom/inmobi/androidsdk/impl/net/HttpRequestCallback;

    invoke-virtual {v0, v1, v2, v3, v4}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;->asyncRequestAd(Lcom/inmobi/androidsdk/impl/UserInfo;Lcom/inmobi/androidsdk/impl/net/RequestResponseManager$ActionType;Ljava/lang/String;Lcom/inmobi/androidsdk/impl/net/HttpRequestCallback;)V
    :try_end_7
    .catchall {:try_start_7 .. :try_end_7} :catchall_0
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_7} :catch_1

    goto :goto_1
.end method

.method public loadNewAd(Lcom/inmobi/androidsdk/IMAdRequest;)V
    .locals 0
    .parameter

    .prologue
    .line 728
    if-eqz p1, :cond_0

    .line 729
    invoke-virtual {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->setIMAdRequest(Lcom/inmobi/androidsdk/IMAdRequest;)V

    .line 731
    :cond_0
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->loadNewAd()V

    .line 732
    return-void
.end method

.method protected onAttachedToWindow()V
    .locals 2

    .prologue
    .line 1238
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, "onAttachedToWindow"

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 1239
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->w:Z

    .line 1241
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->c()V

    .line 1243
    iget v0, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    invoke-virtual {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->setRefreshInterval(I)V

    .line 1244
    return-void
.end method

.method protected onDetachedFromWindow()V
    .locals 2

    .prologue
    .line 1248
    const-string v0, "InMobiAndroidSDK_3.7.0"

    const-string v1, "onDetatchedFromWindow"

    invoke-static {v0, v1}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 1250
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/inmobi/androidsdk/IMAdView;->w:Z

    .line 1253
    const/4 v0, -0x1

    invoke-virtual {p0, v0}, Lcom/inmobi/androidsdk/IMAdView;->setRefreshInterval(I)V

    .line 1255
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->i()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 1256
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->c:Lcom/inmobi/re/container/IMWebView;

    .line 1260
    :goto_0
    if-eqz v0, :cond_0

    .line 1261
    invoke-virtual {v0}, Lcom/inmobi/re/container/IMWebView;->deinit()V

    .line 1263
    :cond_0
    return-void

    .line 1258
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->b:Lcom/inmobi/re/container/IMWebView;

    goto :goto_0
.end method

.method protected onWindowVisibilityChanged(I)V
    .locals 2
    .parameter

    .prologue
    .line 1587
    invoke-super {p0, p1}, Landroid/widget/RelativeLayout;->onWindowVisibilityChanged(I)V

    .line 1590
    if-nez p1, :cond_0

    .line 1591
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->l()V

    .line 1592
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-static {v0}, Lcom/inmobi/commons/internal/ThinICE;->start(Landroid/app/Activity;)V

    .line 1594
    new-instance v0, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;

    invoke-direct {v0}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;-><init>()V

    .line 1595
    invoke-virtual {v0}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;->init()V

    .line 1597
    iget-object v1, p0, Lcom/inmobi/androidsdk/IMAdView;->e:Landroid/app/Activity;

    invoke-virtual {v1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/net/RequestResponseManager;->processClickInBackground(Landroid/content/Context;)V

    .line 1599
    :cond_0
    return-void
.end method

.method public setAdBackgroundColor(Ljava/lang/String;)V
    .locals 0
    .parameter
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 948
    return-void
.end method

.method public setAdBackgroundGradientColor(Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 958
    return-void
.end method

.method public setAdSize(I)V
    .locals 0
    .parameter

    .prologue
    .line 1530
    invoke-direct {p0, p1}, Lcom/inmobi/androidsdk/IMAdView;->a(I)V

    .line 1531
    iput p1, p0, Lcom/inmobi/androidsdk/IMAdView;->q:I

    .line 1532
    return-void
.end method

.method public setAdTextColor(Ljava/lang/String;)V
    .locals 0
    .parameter
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation

    .prologue
    .line 972
    return-void
.end method

.method public setAnimationType(Lcom/inmobi/androidsdk/IMAdView$AnimationType;)V
    .locals 0
    .parameter

    .prologue
    .line 1033
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->v:Lcom/inmobi/androidsdk/IMAdView$AnimationType;

    .line 1034
    return-void
.end method

.method public setAppId(Ljava/lang/String;)V
    .locals 0
    .parameter

    .prologue
    .line 1487
    invoke-static {p1}, Lcom/inmobi/androidsdk/impl/SDKUtil;->validateAppID(Ljava/lang/String;)V

    .line 1488
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->p:Ljava/lang/String;

    .line 1489
    return-void
.end method

.method public setIMAdListener(Lcom/inmobi/androidsdk/IMAdListener;)V
    .locals 0
    .parameter

    .prologue
    .line 1401
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->n:Lcom/inmobi/androidsdk/IMAdListener;

    .line 1402
    return-void
.end method

.method public setIMAdRequest(Lcom/inmobi/androidsdk/IMAdRequest;)V
    .locals 0
    .parameter

    .prologue
    .line 1420
    iput-object p1, p0, Lcom/inmobi/androidsdk/IMAdView;->o:Lcom/inmobi/androidsdk/IMAdRequest;

    .line 1421
    return-void
.end method

.method public setRefTagParam(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 375
    if-eqz p1, :cond_0

    if-nez p2, :cond_1

    .line 376
    :cond_0
    new-instance v0, Ljava/lang/NullPointerException;

    const-string v1, "Key or Value cannot be null"

    invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 379
    :cond_1
    invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    invoke-virtual {p2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 380
    :cond_2
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Key or Value cannot be empty"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 384
    :cond_3
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    if-eqz v0, :cond_4

    .line 385
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-virtual {p1, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setRefTagKey(Ljava/lang/String;)V

    .line 386
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->g:Lcom/inmobi/androidsdk/impl/UserInfo;

    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-virtual {p2, v1}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/impl/UserInfo;->setRefTagValue(Ljava/lang/String;)V

    .line 388
    :cond_4
    return-void
.end method

.method public setRefreshInterval(I)V
    .locals 4
    .parameter

    .prologue
    const/4 v0, -0x1

    .line 993
    if-ne p1, v0, :cond_0

    .line 994
    iput v0, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    .line 995
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    const/16 v1, 0x64

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1009
    :goto_0
    return-void

    .line 998
    :cond_0
    invoke-virtual {p0}, Lcom/inmobi/androidsdk/IMAdView;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/inmobi/androidsdk/bootstrapper/Initializer;->getConfigParams(Landroid/content/Context;)Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;

    move-result-object v0

    invoke-virtual {v0}, Lcom/inmobi/androidsdk/bootstrapper/ConfigParams;->getMinimumRefreshRate()I

    move-result v0

    .line 1000
    if-ge p1, v0, :cond_1

    .line 1001
    const-string v1, "InMobiAndroidSDK_3.7.0"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "Refresh Interval cannot be less than "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, " seconds. Setting refresh rate to "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0}, Lcom/inmobi/commons/internal/Log;->debug(Ljava/lang/String;Ljava/lang/String;)V

    .line 1004
    const/4 v0, 0x0

    iput v0, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    .line 1006
    :cond_1
    iput p1, p0, Lcom/inmobi/androidsdk/IMAdView;->a:I

    .line 1007
    invoke-direct {p0}, Lcom/inmobi/androidsdk/IMAdView;->k()V

    goto :goto_0
.end method

.method public setSlotId(J)V
    .locals 0
    .parameter

    .prologue
    .line 1550
    iput-wide p1, p0, Lcom/inmobi/androidsdk/IMAdView;->r:J

    .line 1551
    return-void
.end method

.method public stopLoading()V
    .locals 3

    .prologue
    const/16 v2, 0x6c

    const/16 v1, 0x6b

    .line 1563
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->hasMessages(I)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 1564
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1565
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v1}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessage(I)Z

    .line 1570
    :cond_0
    :goto_0
    return-void

    .line 1566
    :cond_1
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v2}, Lcom/inmobi/androidsdk/IMAdView$a;->hasMessages(I)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 1567
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v2}, Lcom/inmobi/androidsdk/IMAdView$a;->removeMessages(I)V

    .line 1568
    iget-object v0, p0, Lcom/inmobi/androidsdk/IMAdView;->B:Lcom/inmobi/androidsdk/IMAdView$a;

    invoke-virtual {v0, v2}, Lcom/inmobi/androidsdk/IMAdView$a;->sendEmptyMessage(I)Z

    goto :goto_0
.end method
